package com.carl.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carl.common.utils.PageUtils;
import com.carl.mall.product.entity.AttrGroupEntity;
import com.carl.mall.product.vo.AttrGroupAttrResponseVO;
import com.carl.mall.product.vo.AttrGroupRelationVO;
import com.carl.mall.product.vo.AttrResponseVO;
import com.carl.mall.product.vo.SpuItemGroupAttrVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author carl
 * @email 541020344@qq.com
 * @date 2024-03-09 23:50:01
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageWithTree(Map<String, Object> params, Long catelogId);

    List<AttrGroupAttrResponseVO> getAttrGroupAndAttr(Long catelogId);

    List<SpuItemGroupAttrVO> getAttrgroupWithSpuId(Long spuId
            , Long catalogId);
}

